package com.qyp.core;

class User {
    private String name;
    private int age;
    private String gender;
 
    public User(String n, String g, int a) {
        name = n;
        age = a;
        gender = g;
    }
 
    // 重点在toString，节点的显示文本就是toString
    public String toString() {
        return name+ "-" + gender+ "-" + age;
    }
}